GetNext Method (Messages Collection) 

The GetNext method returns the next object in the Messages collection. Returns Nothing if no next object exists.

Syntax

Set objMessage = objMsgColl.GetNext( )

Parameters

objMessage

On successful return, represents the next Message object in the collection.

objMsgColl

Required. The Messages collection object.

 

Remarks

The Get methods are similar to the Find and Move methods that are used with Microsoft Access databases. The Get methods take a different name from these methods because they use a different syntax.

See Also

Update , Method (Message Object)